Web Server-Apache & nginx & TomactHTTP server is essentially a couple of things:
Listening port
Receive (accept) socket connection
Parsing HTTP Requests
Distributing requests using a common or private protocol
Run results
OneWhy choose Nginx to build a Web serverApache and Nginx are currently using the two most popular web servers, Apache appeared earlier than Nginx. Apache HTTP Server (Apache) is the world's top-ranked Web server software, transliteration, Apache,
The simple thing is that Apache httpd and Nginx are Web servers, but the two adapt to different scenarios, that is, the two focus on solving different problems. Apache httpd: Stable, strong dynamic request processing, but at the same time high
The Web server that is recently ready to set up PHP, the following content for reference.
1, the advantages of nginx with respect to Apache:lightweight, the same Web service, than Apache consumes less memory and resourcesanti-concurrency, Nginx
Test environment is local, test software is:Nginx-1.6.0,apache-tomcat-7.0.42-1. Apache-tomcat-7.0.42-2. Apache-tomcat-7.0.42-3Using Nginx to do load balancing, three Tomcat do web-detailed business processing.Nginx Configuration
Original works, allow reprint, please be sure to use hyperlinks in the form of the original source of the article, author information and this statement. Otherwise, the legal liability will be investigated. http://freeloda.blog.51cto.com/2033581/1285
Outline
First, preface
Second, the way the Web server provides services
Three, multi-process, multi-threading, Asynchronous Pattern comparison
Iv. WEB Service Request process
V. Linux I/O model
Six, Linux I/O model
Nginx Open source and cross-platform software developed by the Russian people to provide Web services and agency servicesNginx provides Web Services application environment?1. Virtual Hosting2. User Access control3. User authentication4. Anti-theft
Nginx/lvs/haproxy Load Balancer software pros and consHttp://www.ha97.com/5646.htmlPs:nginx/lvs/haproxy is currently the most widely used three load balancing software, I have been implemented in a number of projects, reference to some information,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.